#pragma once

#include "SpriteCore.h"

class Sprite
{
protected:
	SpriteCore core;
public:
	void Draw(D3DGraphics &gfx) const;
	virtual ~Sprite(){}
	SpriteState& GetState(){ return *(core.state); }
	float GetVX()const { return core.vx; }
	float GetVY()const { return core.vy; }

	CollisionRectF GetCRect()const
	{
		return core.GetCRect();
	}

	//just for now motherfuckers
	float GetY()const
	{
		return core.y;
	}
}; 